home *** CD-ROM | disk | FTP | other *** search
/ Best of Shareware / Best of PC Windows Shareware 1.0 - Wayzata Technology (7111) (1993).iso / mac / ZIPPED / DOS / GRAPHICS / POVSRC.ZIP / MACHINE.ZIP / MAC.SIT / DoPOVPerf < prev    next >
Text File  |  1992-04-27  |  1KB  |  37 lines

  1. # ==============================================================================
  2. # Project:    POV
  3. # File:        DoPOVPerf (MPW Command Script)
  4. # Contents:
  5. #     After running your app.. run this script to create the performance report
  6. # Related Files:
  7. # ------------------------------------------------------------------------------
  8. # Written by:
  9. #     Eduard [esp] Schwan
  10. # ------------------------------------------------------------------------------
  11. # Change History:
  12. #     900814    [esp]    Created.
  13. #     910730    [esp]    Added ECHO feedback & environment vars for pseudo-clarity
  14. #    920402    [esp]    Genericized for POV-Ray
  15. # ==============================================================================
  16. #
  17.     Set AppName    POV
  18.  
  19.     Set ROMMapFile        "{MPW}ROM Maps:MacIIROM.map"
  20.     Set LinkMapFile        "{AppName}.map"
  21.     Set TempMapFile        "{AppName}andROMPerf.map"
  22.     Set PerfOutFile        "{AppName}Perf.out"
  23.     Set PerfRptOutFile    "{AppName}PerfReport.out"
  24.  
  25.     Echo "Creating {PerfOutFile} file from {LinkMapFile}"
  26.     Catenate "{LinkMapFile}" "{ROMMapFile}" > "{TempMapFile}"
  27.  
  28.     Echo "Generating Report {PerfOutFile}"
  29.     PerformReport -l "{TempMapFile}" -m "{PerfOutFile}" > "{PerfRptOutFile}"
  30.     Delete "{TempMapFile}"
  31.     Open "{PerfRptOutFile}"
  32.